
function fn1 (x:number,y:number,...rest:string[]) {

    console.log(x,y,...rest);
    
    return x+y
}

fn1(1,2,'3',1)